using System.Collections.Generic;
using XNgine.DebugConsole.Commands;

namespace XNgine.Services
{
    public interface IConsole : IService
    {
        List<CommandResult> CommandHistory { get; }

        bool Enabled { get; set; }
        bool ThrowExceptions { get; set; }

        CommandResult Execute(Command command, params object[] args);
        CommandResult Interpret(string commandString);
    }
}